package com.machuxin.course.patterns.proxy.cglib;


public class Test {
    public static void main(String[] args) {

        CglibProxy cglibProxy = new CglibProxy();
        BuyHouseCG buyHouseCglibProxy = (BuyHouseCG) cglibProxy.getInstance(BuyHouseCG.class);
        buyHouseCglibProxy.buyHouse();
    }
}
